'''


@author: Administrator
'''
import common.connect_cli
import time
common.connect_cli.Connection()
print 'hhah'
import ConfigParser
import datetime
import os
import time
import serial
import ConfigParser
import re
import serial  

import sys
sys.path.append('D:\eclipse\luyouqi\src')
import common.config

ser_connection = serial.Serial(common.config.choose_port(),common.config.GetBaudRate(),bytesize=8)
ser_connection.write('cli mw.iom.se 0x1f026 200\n')  
time.sleep(3)
ser_connection.write('cli mw.iom.se 0x1f01c 200\n')  
time.sleep(60) 
ser_connection.close()

common.connect_cli.Connection()